package com.xuecheng.system.service;

import com.xuecheng.api.system.model.DictionaryDTO;
import com.xuecheng.system.entity.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 数据字典 服务类
 * </p>
 *
 * @author itcast
 * @since 2021-03-30
 */
public interface DictionaryService extends IService<Dictionary> {
    /**
     * @param code {@link String}
     * @author jin
     * @date 2021/3/30 22:28
     * @return DictionaryDTO
     */
    DictionaryDTO getDicByCode(String code);



    /**
     * 查询全部字典数据信息
     * @return List<DictionaryDTO>
     * @author jin
     * @date 2021/3/30 22:29
     */
    List<DictionaryDTO> queryAll();
}
